<%@ page contentType="application/vnd.ms-excel;charset=utf-8"%>
<%
response.setHeader("Content-Disposition","attachment;filename="+new String ("费用核销汇总报表.xls".getBytes("utf-8"),"iso-8859-1"));
%> 
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>费用核销</title>
		<style type="text/css">
			.feeTol{font-weight: bold;color:#000;}
			.tableTitle{font-weight: bold;font-size:14px;color:#000;}
			.feeTitle{}
			table{border-collapse: collapse;}
			td{font-size: 12px;text-align:center;border: 1px solid #000000;height:25px;color:#00000;}
			.left_align{text-align:left;}
			.right_align{text-align:right;}
			.center_align{text-align:center;}
		</style>

	</head>
	<body>
        <table>
	        <tr>
	            <td colspan="${titleColspan}" class="tableTitle">${pageTitle}</td>
	    </tr>
		<tr>
	            <td colspan="${titleColspan}" class="left_align">${secondTitle}</td>
	    </tr>
         <tr>
             <td width="120" rowspan="4" class='feeTitle'>项目</td>
             <td width="60" class='feeTitle'>一级</td>
             ${tdTitle1}
         </tr>
         <tr>
          	<td class='feeTitle'>二级</td>
         	${tdTitle2}
         </tr>
         <tr>
         	<td class='feeTitle'>三级</td>
         	${tdTitle3}
         </tr>
         <tr>
         	<td class='feeTitle'></td>
         	${tdTitle4}
         </tr>
         ${listHtml}
         
        <c:if test="${feeReport.feeReportId ne null}">
          <tr>
	            <td colspan="${titleColspan}" class="left_align">凭证起始号：${feeReport.certificateNoStart}
	            其他费用说明：${feeReport.otherFeeRemark}
	            备注：${feeReport.feeReportRemark}
	            </td>
	    </tr>
          <tr>
	            <td colspan="${titleColspan}" class="left_align">凭证张数:${feeReport.certificateCountTol}(张) 
	            凭证金额:${feeReport.certificateAmountTol}(元) 
	            票据张数:${feeReport.billCountTol}(张) 
	            票据金额:${feeReport.billAmountTol}(元)
	            </td>
	    </tr>
	    </c:if>
	    <c:if test="${certificateCountTol ne null}">
	    	<tr>
	            <td colspan="${titleColspan}" class="left_align">凭证张数:${certificateCountTol}(张) 
	            凭证金额:${certificateAmountTol}(元) 
	            票据张数:${billCountTol}(张) 
	            票据金额:${billAmountTol}(元)
	            </td>
	    </tr>
	    </c:if>
        </table>
	</body>
</html>